package org.summerframework.component.security.core.service;

import org.summerframework.component.security.core.service.impl.AbstractThirdPartyLoginServiceImpl;
import org.summerframework.component.security.oauth.Info;
import org.springframework.transaction.annotation.Transactional;

/**
 * 第三方登录
 * {@link AbstractThirdPartyLoginServiceImpl}
 *
 * @param <T> {@link Info}
 * @author 石超
 * @version v1.0.0
 */
public interface ThirdPartyLoginService<T, I extends Info> extends LoginService {

    @Transactional
    T validateLoginContext(I t);
}
